.class Lcom/bitauto/autoeasy/tool/AsyncPromotionLoader$1;
.super Landroid/os/Handler;
.source "AsyncPromotionLoader.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/bitauto/autoeasy/tool/AsyncPromotionLoader;->loadDrawable(Ljava/lang/String;Lcom/bitauto/autoeasy/tool/AsyncPromotionLoader$ImageCallback;)Lcom/bitauto/autoeasy/news/Object/Promotion;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/bitauto/autoeasy/tool/AsyncPromotionLoader;

.field private final synthetic val$imageCallback:Lcom/bitauto/autoeasy/tool/AsyncPromotionLoader$ImageCallback;

.field private final synthetic val$imageUrl:Ljava/lang/String;


# direct methods
.method constructor <init>(Lcom/bitauto/autoeasy/tool/AsyncPromotionLoader;Lcom/bitauto/autoeasy/tool/AsyncPromotionLoader$ImageCallback;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/bitauto/autoeasy/tool/AsyncPromotionLoader$1;->this$0:Lcom/bitauto/autoeasy/tool/AsyncPromotionLoader;

    iput-object p2, p0, Lcom/bitauto/autoeasy/tool/AsyncPromotionLoader$1;->val$imageCallback:Lcom/bitauto/autoeasy/tool/AsyncPromotionLoader$ImageCallback;

    iput-object p3, p0, Lcom/bitauto/autoeasy/tool/AsyncPromotionLoader$1;->val$imageUrl:Ljava/lang/String;

    .line 29
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 3
    .parameter "message"

    .prologue
    .line 31
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    if-eqz v0, :cond_0

    .line 32
    iget-object v1, p0, Lcom/bitauto/autoeasy/tool/AsyncPromotionLoader$1;->val$imageCallback:Lcom/bitauto/autoeasy/tool/AsyncPromotionLoader$ImageCallback;

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/bitauto/autoeasy/news/Object/Promotion;

    iget-object v2, p0, Lcom/bitauto/autoeasy/tool/AsyncPromotionLoader$1;->val$imageUrl:Ljava/lang/String;

    invoke-interface {v1, v0, v2}, Lcom/bitauto/autoeasy/tool/AsyncPromotionLoader$ImageCallback;->imageLoaded(Lcom/bitauto/autoeasy/news/Object/Promotion;Ljava/lang/String;)V

    .line 33
    :cond_0
    return-void
.end method
